<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
<title>Spring Training, Inc.</title>
</head>
<body>

<jsp:include page="top.jsp"></jsp:include>

<table border="1" cellpadding="0" cellspacing="0" width="800"
	align="center">
	<tr>
		<td width="400"><c:choose>
			<c:when test="${user == null}">
				<c:out value="Welcome, guest"></c:out>
			</c:when>
			<c:otherwise>
				<c:out value="Welcome, ${user.name}"></c:out>
			</c:otherwise>
		</c:choose> 
		${user}
		</td>
		<td width="400">Right part</td>
	</tr>
</table>

</body>
</html>
